package com.beamfield.dao.lab;

import com.beamfield.model.ConcreteMechanics;
import com.beamfield.modelVo.ConcreteMechanicsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ConcreteMechanicsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConcreteMechanics record);

    int insertSelective(ConcreteMechanics record);

    ConcreteMechanics selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConcreteMechanics record);

    int updateByPrimaryKey(ConcreteMechanics record);

    List<ConcreteMechanicsVo> selectPage(@Param("beamId") Long beamId, @Param("offset") String offset, @Param("limit") String limit,@Param("noticeId") String noticeId,@Param("partDate") String partDate);

    long countPage(@Param("beamId") Long beamId,@Param("noticeId") String noticeId,@Param("partDate") String partDate);

    ConcreteMechanics selectByNoticeId(String noticeId);
}
